package dao;

import entity.Ticket;

import java.util.List;

public interface ITicketDao {
    boolean sellTicket(Ticket ticket);

    boolean refundTicket(String electronicTicketId);

    Ticket getTicketByElectronicId(String electronicTicketId);

    List<Ticket> getTicketsByScheduleId(String scheduleId);
}